package com.mvc.beans;


/**
 * @author a1926
 * 一个管理员
 */
public class Admin {

    public static final Integer ADMINID_LENGTH = 5;
    private Integer adminId;
    private String name;
    private String passWord;


    public Admin(Integer adminId, String name, String passWord) {
        this.adminId = adminId;
        this.name = name;
        this.passWord = passWord;
    }

    public Admin(){

    }

    public Integer getAdminId() {
        return adminId;
    }

    public void setAdminId(Integer adminId) {
        this.adminId = adminId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    @Override
    public String toString() {
        return "Admin{" +
                "adminId=" + adminId +
                ", name='" + name + '\'' +
                ", passWord='" + passWord + '\'' +
                '}';
    }
}


